import Vue from 'vue';
import config from '@/config';
import request from '@/utils/request';
//全局挂载HTTP模块
Vue.prototype.$http = request;

import BaiduMap from 'vue-baidu-map';
Vue.use(BaiduMap, {
	ak: config.mapAk,
});

import VueTouchRipple from 'vue-touch-ripple';

// import styles
import 'vue-touch-ripple/dist/vue-touch-ripple.css';

// mount with global
Vue.use(VueTouchRipple /* {
  // default global options
  color: '#fff',
  opacity: 0.3,
  speed: 1,
  transition: 'ease'
} */);

//引入v-charts
import VCharts from 'v-charts';
Vue.use(VCharts);
